package com.webside.spread.mapper;

import java.util.List;
import java.util.Map;

import com.webside.base.basemapper.BaseMapper;
import com.webside.series.model.SeriesEntity;
import com.webside.spread.model.SpreadSupporterEntity;

public interface SpreadMapper extends BaseMapper<SpreadSupporterEntity, Long>{
	/**
	 * 查询所有
	 * @return
	 */
	List<SpreadSupporterEntity> selectAllSpread();
	List<String> selectAllSpreadName();
	List<Map<String,Object>> selectSpreadName();
	List<SpreadSupporterEntity> selectSpread(SpreadSupporterEntity spread);
	List<SpreadSupporterEntity> querySpread(Map<String,Object> param);
	/**
	 * 新增
	 */
	void addSpread(SpreadSupporterEntity spread);
	/**
	 * 删除
	 */
	void deleteSpread(List<String> id);
	/**
	 * 修改
	 *
	 */
	void updateSpread(SpreadSupporterEntity spread);
	void addLinks(String ssCode);
}
